package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import java.awt.event.ActionListener;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class EvaluationReport extends MasterGUI {
	
	private static final long serialVersionUID = 1L;
	private MainGUI mainGui;
	private JButton btnCancel;
	private JButton btnConfirmReading;
	
	public EvaluationReport(MainGUI mainGui ) {
		super(mainGui);
		this.mainGui=mainGui;
	
		
		JPanel panel = new JPanel();
		panel.setBounds(0, 0, 884, 40);
		getContentPane().add(panel);
		
		JLabel lblEvaluationReport = new JLabel("Evaluation Report");
		lblEvaluationReport.setFont(new Font("Dialog", Font.BOLD, 16));
		panel.add(lblEvaluationReport);
		
		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(287, 70, 293, 293);
		getContentPane().add(scrollPane);
		
		JTextArea textArea = new JTextArea();
		scrollPane.setViewportView(textArea);
		
		setBtnConfirmReading(btnConfirmReading);
		setBtnCancel(btnCancel);

	}

	
	public JButton getBtnConfirmReading() {
		return btnConfirmReading;
	}



	public void setBtnConfirmReading(JButton btnConfirmReading) {
		btnConfirmReading = new JButton("Confirm Reading");
		btnConfirmReading.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnConfirmReading.setBounds(456, 387, 126, 23);
		getContentPane().add(btnConfirmReading);
	}



	public JButton getBtnCancel() {
		return btnCancel;
	}



	public void setBtnCancel(JButton btnCancel) {
		btnCancel = new JButton("Cancel");
		btnCancel.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnCancel.setBounds(287, 387, 126, 23);
		getContentPane().add(btnCancel);
	}

}
